package nl.RvdW.TVgids;

import java.util.ArrayList;
import java.util.TimerTask;

import android.util.Log;

public class TimeFragmentTask extends TimerTask {
	boolean current;
	public ArrayList<Programme> programs;
	
	public TimeFragmentTask(ArrayList<Programme> programs, boolean current){
		this.programs = programs;
		this.current = current;
	}

	public void run(){
		Log.d(Global.Name,"Running timer - "+current);
		Global.db.fetchCurrent(programs,current);
	}
}
